package com.travel.server.manager.dto.response.project;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/10/30 18:58
 * @Desc:
 */
@Data
public class QueryProjectBaseInfoResponse {

    private String number;

    private String name;

    private String explains;

    @JSONField(name = "pic_url")
    private String priUrl;

    private String emails;

    private String type;

    private String project;

    private String country;

    @JSONField(name = "travel_type")
    private String travelType;

    @JSONField(name = "travel_type_id")
    private Integer travelTypeId;

    @JSONField(name = "need_english")
    private Integer needEnglish;

    private String question;

    @JSONField(name = "question_id")
    private Integer questionId;

    @JSONField(name = "project_charge_id")
    private Integer projectChargeId;

    @JSONField(name = "project_charge_name")
    private String projectChargeName;

    @JSONField(name = "order_charge_id")
    private Integer orderChargeId;

    @JSONField(name = "order_charge_name")
    private String orderChargeName;

    private String price;

    @JSONField(name = "line_price")
    private String linePrice;

    private String stock;

    @JSONField(name = "member_price")
    private String memberPrice;

    @JSONField(name = "shelf_type")
    private Integer shelfType;

    @JSONField(name = "shelf_time", format = "yyyy-MM-dd")
    private Date shelfTime;

    @JSONField(name = "limit_number")
    private String limitNumber;

    @JSONField(name = "member_type")
    private String memberType;

    @JSONField(name = "special_list")
    private List<SpecialItem> specialList;

    @Data
    public static class SpecialItem{

        @JSONField(name = "special_id")
        private Integer specialId;

        @JSONField(name = "travel_date", format = "yyyy-MM-dd")
        private Date travelDate;

        private String days;

        private String price;

        private String stock;

        private String attention;

        @JSONField(name = "sales_volume")
        private String salesVolume;

        @JSONField(name = "apply_amount")
        private String applyAmount;
    }

}
